package com.zcup.designer.construct.composite;

public class Composite extends Component {

    public Composite(String id) {
        super(id);
    }

    @Override
    void add(Component component) {
    }

    @Override
    void remove(Component component) {
    }

    @Override
    void display(int depth) {
        System.out.println(getLine(depth) + getId());
    }
}
